import { PageEnum } from '/@/enums/pageEnum';

// 个人设置中心
export default {
  path: PageEnum.SETTINGS,
  name: 'SETTINGS',
  meta: {
    isAuthorCenter: true,
    requiredAuth: true,
  },
  components: {
    header: () => import('/@/components/MainHeaderBox.vue'),
    default: () => import('/@/views/profile/Settings.vue'),
  },
  redirect: PageEnum.SETTINGS_PROFILE,
  children: [
    // 设置-个人资料
    {
      path: PageEnum.SETTINGS_PROFILE,
      name: 'PROFILE_PROFILE',
      component: () => import('/@/views/profile/Profile.vue'),
    },
  ],
};
